package com.sophialex.health.record.common.bind.swt.annotations.helper;

import java.lang.reflect.Field;

import com.sophialex.health.record.common.bind.swt.annotations.ListPathComboDataBindTo;

public class ListComboBindToHelper extends ComboBindHelper {

	private Field f;
	private ListPathComboDataBindTo ba;

	public ListComboBindToHelper(Field f) {
		this.f = f;
		this.ba = f.getAnnotation(ListPathComboDataBindTo.class);
	}

	@Override
	public String getBeanPath() {
		// TODO Auto-generated method stub
		return ba.beanPath();
	}

	@Override
	public String getDataPath() {
		// TODO Auto-generated method stub
		return ba.dataPath();
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return ba.toString();
	}

}
